Skip to content

Conversation

Copy link

Copilot AI commented Nov 27, 2025

Implements brand_id parameter for IDV iframe session creation to enable custom branding.

Changes

  • SdkConfig: Added optional brand_id parameter with property accessor and JSON serialization
  • SdkConfigBuilder: Added with_brand_id() method for fluent configuration
  • Tests: Added 4 test cases covering builder usage, defaults, and JSON serialization behavior

Usage

sdk_config = (
    SdkConfigBuilder()
    .with_allows_camera_and_upload()
    .with_brand_id("my-custom-brand")
    .with_success_url("https://example.com/success")
    .build()
)

The parameter is optional and excluded from JSON when not set, maintaining backward compatibility.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@sonarqubecloud
Copy link

Copilot AI changed the title [WIP] Add brand ID support for IDV iframe session creation Add brand_id support for IDV session customization Nov 27, 2025
Copilot AI requested a review from mehmet-yoti November 27, 2025 13:36
Copilot finished work on behalf of mehmet-yoti November 27, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants